package com.pay.game.central.web.bean;

import java.util.Objects;

public class Store {

    private String id;
    private String name;
    private String thumb_url;
    private long create_time;
    private long update_time;
    // 开启关闭跑分
    private boolean loop;
    private String user_id;
    // 商品数
    private int goods_size;
    /**
     * 店铺可用分数上限
     */
    private int score;
    /**
     * 使用分数累计值
     */
    private int used_score;
    /**
     * 跑分开始时间
     */
    private int start_time;

    /**
     * 当前结算单ID
     */
    private long settlement_id;

    private int order_limit;

    private String order_index;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getThumb_url() {
        return thumb_url;
    }

    public void setThumb_url(String thumb_url) {
        this.thumb_url = thumb_url;
    }

    public long getCreate_time() {
        return create_time;
    }

    public void setCreate_time(long create_time) {
        this.create_time = create_time;
    }

    public long getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(long update_time) {
        this.update_time = update_time;
    }

    public boolean isLoop() {
        return loop;
    }

    public void setLoop(boolean loop) {
        this.loop = loop;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public int getUsed_score() {
        return used_score;
    }

    public void setUsed_score(int used_score) {
        this.used_score = used_score;
    }

    public int getStart_time() {
        return start_time;
    }

    public void setStart_time(int start_time) {
        this.start_time = start_time;
    }

    public long getSettlement_id() {
        return settlement_id;
    }

    public void setSettlement_id(long settlement_id) {
        this.settlement_id = settlement_id;
    }

    public int getOrder_limit() {
        return order_limit;
    }

    public void setOrder_limit(int order_limit) {
        this.order_limit = order_limit;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Store store = (Store) o;
        return Objects.equals(id, store.id);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id);
    }

    public int getGoods_size() {
        return goods_size;
    }

    public void setGoods_size(int goods_size) {
        this.goods_size = goods_size;
    }

    public String getOrder_index() {
        return order_index;
    }

    public void setOrder_index(String order_index) {
        this.order_index = order_index;
    }
}
